const axios = require('axios')

// 发送Ajax请求
axios.get('http://ums.tangxiaoyang.vip/api/user/findByPage?page=1&rows=3')
    .then(res => {
        // console.log(res.data)
        if(res.data.status === 200){
            var users = res.data.data.records
            console.log(users)
        }
    })
    .catch(err => {
        console.log(err)
    })